package com.eduadmin.mapper;

import com.eduadmin.entity.TeamCourseAve;
import com.eduadmin.entity.TeamCourseRate;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface TeamCourseRateMapper {
    /**
     * @author zlc001
     * */
    // 批量插入统计记录（参数为“TeamCourseRate”对象列表）
    int batchInsert(List<TeamCourseRate> teamCourseRateList);
    // 按条件查询班级学科四率记录，返回对象列表
    List<TeamCourseRate> getQueTeamCourseRate(Map<String,Object> paraMap);
    // 按条件查询班级学科四率记录条数
    int getTeamCourseRateNumberByParams(Map<String,Object> paraMap);
    // 根据条件（学期&&年级&&考试&&分类）删除所有的班级学科四率记录，返回1
    int deleteByParams(Map<String,Object> paraMap);
    /**
    int deleteByPrimaryKey(Integer teamCourseRateId);

    int insert(TeamCourseRate record);

    int insertSelective(TeamCourseRate record);

    TeamCourseRate selectByPrimaryKey(Integer teamCourseRateId);

    int updateByPrimaryKeySelective(TeamCourseRate record);

    int updateByPrimaryKey(TeamCourseRate record);
     **/
}
